package com.front.web.shiro.mapper;

import com.front.web.shiro.model.User;


public interface UserMapper {
    
    User findByUsername(String userName);
    
    void createUser(User user);
    
    User findById(Integer id);
    
    void updateByPrimaryKeySelective(User user);
    
    
    void updateByPrimaryKey(User user);
    
    void initUserOnlineStatus();
    
}